/***********************************************************************
filename: 	FalDragIconProperties.cpp
created:	2009.03.17
author:		Yum

***************************************************************************/
#include "FalDragIconProperties.h"
#include "CEGUIPropertyHelper.h"
#include "FalDragIcon.h"

// Start of CEGUI namespace section
namespace CEGUI
{

	// Start of FalagardDragIconProperties namespace section
	namespace FalagardDragIconProperties
	{		
		String  Mask::get(const PropertyReceiver* receiver) const
		{
			FalagardDragIcon* wr = static_cast<FalagardDragIcon*>(
				static_cast<const Window*>(receiver)->getWindowRenderer());
			return PropertyHelper::maskToString(wr->getMask());
		}

		void    Mask::set(PropertyReceiver* receiver, const String& value)
		{
			FalagardDragIcon* wr = static_cast<FalagardDragIcon*>(
				static_cast<Window*>(receiver)->getWindowRenderer());
			wr->setMask(PropertyHelper::stringToMask(value));
		}
		
	} // End of  FalagardDragIconProperties namespace section

} // End of  CEGUI namespace section
